package com.appcenter.application.mapper;

import com.appcenter.application.model.UserAddrs;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

@Repository
@org.apache.ibatis.annotations.Mapper
public interface UserAddrsMapper extends Mapper<UserAddrs> {




    @Select("select * from useraddrs where UserId=#{UserId}")
    UserAddrs getUserAddsByUserId(String UserId);



    @Delete("delete from useraddrs where userid=#{UserId}")
    public int deleteUserAddrByUserId(String UserId);



}
